package model;

/**
 * Created by yvdedu.com on 2016/9/27.
 */
public class Tab {
    private int id;
    private int user_id;
    private int chapter_id;
    private String buy;
    private String collect;
    private String time;

    public Tab(int id, int user_id, int chapter_id, String buy, String collect, String time) {
        this.id = id;
        this.user_id = user_id;
        this.chapter_id = chapter_id;
        this.buy = buy;
        this.collect = collect;
        this.time = time;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public void setChapter_id(int chapter_id) {
        this.chapter_id = chapter_id;
    }

    public void setBuy(String buy) {
        this.buy = buy;
    }

    public void setCollect(String collect) {
        this.collect = collect;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getId() {
        return id;
    }

    public int getUser_id() {
        return user_id;
    }

    public int getChapter_id() {
        return chapter_id;
    }

    public String getBuy() {
        return buy;
    }

    public String getCollect() {
        return collect;
    }

    public String getTime() {
        return time;
    }

    @Override
    public String toString() {
        return "Tab{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", chapter_id=" + chapter_id +
                ", buy='" + buy + '\'' +
                ", collect='" + collect + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
